package com.wecan.oauth.DTO.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author liuzhihao
 * @Date 2022.01.20
 * @Version ${version}
 * @Description ${description}
 */
@Schema(title = "绑定手机号")
@Data
public class BindPhoneDTO {

    @NotNull(message = "手机号不能为空")
    String phone;

    @NotNull(message = "验证码不能为空")
    String validateCode;
}
